//
//  UIBarButtonItem+Extension.h
//  CFFinanceProject
//
//  Created by chunfeng on 2018/4/9.
//  Copyright © 2018年 xiaowen. All rights reserved.
//

#import <UIKit/UIKit.h>


/**
 用法参考CFNavViewController.m
 */

@interface UIBarButtonItem (Extension)


/**
 *
 *
 *  @param nmlIme 正常状态的图片
 *  @param hltImg 高度状态的图片
 *  @param target 按钮taget
 *  @param action 按钮点击触发方法
 *
 *  @return UIBarButtonItem
 */
+(instancetype)barBtnItemWithNmlImg:(NSString *)nmlIme hltImg:(NSString *)hltImg target:(id)target action:(SEL)action;


/**
 *  返回固定样式导航条Item
 */
+(instancetype)barBtnItemWithTitle:(NSString *)title target:(id)target action:(SEL)action;


/**
 *  固定样式的返回按钮
 *
 */
+(instancetype)backItemWithTitle:(NSString *)title target:(id)target action:(SEL)action;
/**
 *  固定的“返回”两个字按钮
 *
 */
+(instancetype)backItemWithTarget:(id)target action:(SEL)action;


//改变按钮颜色
+(instancetype)barBtnItemWithTitle:(NSString *)title color:(UIColor *)color target:(id)target action:(SEL)action;

@end
